package com.recSys.inter;

import com.recSys.model.User;

import java.util.List;


public interface UserMapper {
	int deleteByPrimaryKey(Integer id);

	int insert(User record);

	int insertSelective(User record);

	int getTotal();

	User selectByPrimaryKey(Integer id);

	User selectExistUser(User record);

	int updateByPrimaryKeySelective(User record);

	int updateByPrimaryKey(User record);

	User selectByEmail(User user);

	User selectUserByPrimaryKey(Integer id);

	User selectFriendByPrimaryKey(Integer id);

	User selectByopenId(String openId);

	List<User> selectAllUser();

}